<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>盛世机电</title>
    <link href="/common/css/common-ui.min.css" rel="stylesheet" />
    <script>
        if(localStorage.getItem("token")==null){
            window.history.replaceState(null, "", '/login.html');
            location.reload()
        }
    </script>
</head>

<body>
    <div class="page-container">
        <div class="side-menu"></div>
        <div class="main-container">
            <div class="header-content">
                <i class="aidicon aidicon-backburger"></i>
                <span class="title-text"></span>
                <div class="user-info pull-right">
                    <img src="/images/backstageManage/img_01.png">
                    <span class="username">admin</span>
                </div>
            </div>
            <iframe class="main-content" src=""></iframe>
        </div>
    </div>

    <script src="/common/js/lib/require/require.min.js"></script>
    <script>
        function showDialog() {
            $(".left-nav").addClass("iframe-show");
            $(".header-content").addClass("iframe-show");
        }
        function closeDialog() {
            $(".left-nav").removeClass("iframe-show");
            $(".header-content").removeClass("iframe-show");
        }
        require(["/js/require.config.js"], function () {
            require(["/js/backstageManage/index.js"], function (app) {
                app.init();
            });
        });
    </script>
</body>

</html>